home *** CD-ROM | disk | FTP | other *** search
/ Your Choice 3 / Your Choice Software Collection 3.iso / os2 / gbase / install.003 / GUIMINE.HLP (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1993-10-26  |  16.9 KB  |  417 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. About the Mined Game ΓòÉΓòÉΓòÉ
  3.  
  4. About the Mined Game 
  5.  
  6. The Mined Game is just one of the example programs supplied with Guidelines. 
  7. Examples are provided which demonstrate particular features of the JOT 
  8. language, highlight usage of one or more controls, discuss calling external and 
  9. existing object modules from JOT, etc.  Please refer to the manual Getting 
  10. Started With Guidelines for a complete list of the examples supplied. 
  11.  
  12. This help file discusses various details of the Mined Game.  Information is 
  13. included concerning how to play the Mined Game, and the dialogs and windows by 
  14. which the user interacts which the game. 
  15.  
  16. While the Mined Game is a complete working program, certain features have been 
  17. deliberately excluded to encourage developers to examine and extend on an 
  18. already working example.  It should be noted, however, that the original code, 
  19. help text and images used within the Mined Game remain copyright to JBA 
  20. International plc., and are made available on the basis that the licencee of 
  21. Guidelines may use this material on a single machine, but may not distribute it 
  22. in any form, whether modified or not. 
  23.  
  24.  
  25. ΓòÉΓòÉΓòÉ 2. How to play the Mined Game ΓòÉΓòÉΓòÉ
  26.  
  27. How to play the Mined Game 
  28.  
  29. The object of the game is to uncover every square on the board , without 
  30. exploding the mines which are hidden under some of the squares.  This requires 
  31. both good luck and good strategy.  When all 'safe' squares have been uncovered, 
  32. the game is won.  If any of the squares which have been mined are uncovered, 
  33. you die, and the game is lost. 
  34.  
  35. Squares are uncovered by using the mouse.  At the beginning of the game, all 
  36. squares are set to the covered state, thereby concealing whether a mine lies 
  37. under them or not.  Pressing Mouse Button 1 while over a covered square causes 
  38. that square to be uncovered.  Pressing Mouse Button 2 while over a covered 
  39. square causes the square to be marked as containing a mine.  Once a square has 
  40. been marked, the square will not be uncovered, either by the operation of Mouse 
  41. Button 1 while over the square, or during group clearing of the board.  A 
  42. square may be un-marked by pressing Mouse Button 2 on it a second time. 
  43.  
  44. When a square is uncovered, it will reveal either a mine (causing the game to 
  45. be lost), a number (indicating the number of squares which are adjacent to the 
  46. square which contain mines), or a blank, indicating that no adjacent square 
  47. contains a mine.  In the latter case, the Mined Game will automatically uncover 
  48. the squares surrounding the square which is being uncovered.  If any of those 
  49. eight squares is also blank, this process will repeat, revealing a (possibly) 
  50. large amount of the board with a single action. 
  51.  
  52. The first square uncovered in the Mined Game will never be a mine, as a 
  53. convenience to the player.  After this first square, however, each additional 
  54. square uncovered should be carefully selected, in order to avoid uncovering 
  55. (and thereby exploding) a mine. 
  56.  
  57. If you lose, the Mined Game will display the position of all mines yet to be 
  58. uncovered, and will indicate any incorrectly marked squares. 
  59.  
  60.  
  61. ΓòÉΓòÉΓòÉ 2.1. Board layout and appearance ΓòÉΓòÉΓòÉ
  62.  
  63. Board layout and appearance 
  64.  
  65. The size of the board is determined by the current level of difficulty .  Each 
  66. square is drawn using one of the images below, depending upon the actions 
  67. previously performed by the user. 
  68.  
  69.         The initial state of all squares on the board.  No information is known 
  70.         as to whether the square might be a mine, or how many the squares which 
  71.         are adjacent to a given square contain mines. 
  72.  
  73.         An uncovered square which has no mines adjacent to it. 
  74.  
  75.         There are the number indicated squares adjacent to the square which 
  76.         have mines in them, whether uncovered or not. 
  77.  
  78.         This image is displayed for any squares which a player has marked as 
  79.         containing a mine. 
  80.  
  81.         If a square is uncovered which contains a mine, the current game will 
  82.         end in failure, and this image will be drawn to show that an explosion 
  83.         occurred. 
  84.  
  85.         After a game has completed in failure, any squares which contain mines 
  86.         but which have not been marked as having a mine will be drawn using 
  87.         this image. 
  88.  
  89.         After a game has completed in failure, any squares which the player 
  90.         marked as containing a mine, but which did not actually contain a mine, 
  91.         will be drawn using this image. 
  92.  
  93.  
  94. ΓòÉΓòÉΓòÉ 2.2. Adjacent Squares ΓòÉΓòÉΓòÉ
  95.  
  96. Adjacent squares 
  97.  
  98. Each square has eight neighbours as seen below.  The square with the question 
  99. mark is surrounded by eight adjacent squares. 
  100.  
  101.  When a number is shown on an uncovered square, that number is the count how 
  102.  many of the eight adjacent squares which contain mines.  Squares at the 
  103.  corners and along the edges of the board have fewer than eight neighbours.  As 
  104.  a result, it is often best to select one of the these squares as a starting 
  105.  point. 
  106.  
  107.  
  108. ΓòÉΓòÉΓòÉ 2.3. Levels of difficulty ΓòÉΓòÉΓòÉ
  109.  
  110. Levels of difficulty 
  111.  
  112. The following levels of difficulty may be selected: 
  113.  
  114. Learn 
  115.  
  116. The Learn level of difficulty is provided to assist people to learn how to use 
  117. the mouse buttons to uncover and mark cells.  It plays at a trivial level, and 
  118. is not intended to be a challenge - merely as a training ground for would be 
  119. mine gurus.  This selection yields a 10 x 10 board with 3 mines on it. 
  120.  
  121. Beginner 
  122.  
  123. This is the default game level when the Mined Game starts.  This selection 
  124. yields a 10 x 10 board with 12 mines on it. 
  125.  
  126. Intermediate 
  127.  
  128. The Intermediate level is probably the most playable level - being not too easy 
  129. to be totally trivial to solve, and not so hard that one must play the game all 
  130. day before solving it.  This selection yields a 15 x 20 board with 50 mines on 
  131. it. 
  132.  
  133. Advanced 
  134.  
  135. For all those who fancy themselves as invincible Mined Game players, the 
  136. Advanced level is provided. This selection yields a 15 x 30 board with 99 mines 
  137. on it.  Often it is a matter of pure chance as to whether the Advanced level 
  138. may be solved. 
  139.  
  140.  
  141. ΓòÉΓòÉΓòÉ 3. Mined Game Dialogs ΓòÉΓòÉΓòÉ
  142.  
  143. Mined Game Dialogs 
  144.  
  145. The Mined Game contains four dialogs which control play and present information 
  146. to the user. 
  147.  
  148.     o Main Window 
  149.     o Win Dialog 
  150.     o Lose Dialog 
  151.     o About Dialog 
  152.  
  153.  
  154. ΓòÉΓòÉΓòÉ 3.1. Help for the Main window ΓòÉΓòÉΓòÉ
  155.  
  156. Help for the Main window 
  157.  
  158. This is the dialog in which the Mined Game is played.  It contains the 
  159. following items: 
  160.  
  161. Menu 
  162.  
  163. The menu attached to the Main Window allows the user to set the level of 
  164. difficulty , start a new game, exit the program, and display help.  For these 
  165. purposes the Game and the Help sub-menus are provided. 
  166.  
  167. Squares to uncover 
  168.  
  169. The Squares to uncover field shows how many squares are remaining before the 
  170. mine field will have been cleared. 
  171.  
  172. Board 
  173.  
  174. The board contains a grid of squares, each of which may be blank, may be marked 
  175. as containing a mine, may have an exploded mine, etc.  The number of squares in 
  176. the board is dependent upon the current level of difficulty . 
  177.  
  178. Score 
  179.  
  180. The Score field indicates how many squares have been successfully uncovered. 
  181.  
  182.  
  183. ΓòÉΓòÉΓòÉ 3.2. Help for the Lose dialog ΓòÉΓòÉΓòÉ
  184.  
  185. Help for the Lose dialog 
  186.  
  187. The Lose dialog is presented when a mine is uncovered.  Press the Ok button to 
  188. dismiss the dialog and return to the game. 
  189.  
  190. After you return to the main window, pressing Mouse Button 2 on the board area 
  191. will cause a new game to be started. 
  192.  
  193.  
  194. ΓòÉΓòÉΓòÉ 3.3. Help for the Win dialog ΓòÉΓòÉΓòÉ
  195.  
  196. Help for the Win dialog 
  197.  
  198. Congratulations, you have successfully completed the Mined Game.  Press the Ok 
  199. button to dismiss the dialog and return to the game. 
  200.  
  201. After you return to the main window, pressing Mouse Button 2 on the board area 
  202. will cause a new game to be started. 
  203.  
  204.  
  205. ΓòÉΓòÉΓòÉ 3.4. Help for Product Information... ΓòÉΓòÉΓòÉ
  206.  
  207. Help for Product Information... 
  208.  
  209. The Product Information dialog displays various details concerning the 
  210. implementation of the Mined Game.  Press the Ok button to dismiss the dialog 
  211. and return to the game. 
  212.  
  213.  
  214. ΓòÉΓòÉΓòÉ 4. Mouse buttons ΓòÉΓòÉΓòÉ
  215.  
  216. Mouse buttons 
  217.  
  218. Squares are uncovered by using the mouse.  Pressing Mouse Button 1 while over a 
  219. covered square causes that square to be uncovered.  Pressing Mouse Button 2 
  220. while over a covered square causes the square to be marked as containing a 
  221. mine.  Once a square has been marked, the square can not be uncovered. 
  222.  
  223.  
  224. ΓòÉΓòÉΓòÉ 4.1. Using Mouse Button 1 ΓòÉΓòÉΓòÉ
  225.  
  226. Mouse Button 1 
  227.  
  228. Mouse Button 1 is used to uncover a square.  By default this is the Left Mouse 
  229. Button, unless it has been changed via the Setup choice of the Mouse Settings 
  230. in the System Setup folder. 
  231.  
  232.  
  233. ΓòÉΓòÉΓòÉ 4.2. Using Mouse Button 2 ΓòÉΓòÉΓòÉ
  234.  
  235. Mouse Button 2 
  236.  
  237. Mouse Button 2 is used to mark a square as containing a mine.  By default this 
  238. is the Right Mouse Button, unless it has been changed via the Setup choice of 
  239. the Mouse Settings in the System Setup folder. 
  240.  
  241. Marking a covered square results in the square selected changing from: 
  242.  
  243.  to 
  244.  
  245.  Once a square has been marked in this way the Mined Game will not allow the 
  246.  player to accidentally uncover it using Mouse Button 1 .  In order to unmark a 
  247.  square, Mouse Button 2 should be pressed on the marked square. 
  248.  
  249.  When a game has been finished (either successfully or after uncovering a 
  250.  mine), Mouse Button 2 will cause a new game to be started. 
  251.  
  252.  
  253. ΓòÉΓòÉΓòÉ 5. Keyboard accelerators ΓòÉΓòÉΓòÉ
  254.  
  255. Keyboard accelerators 
  256.  
  257. Within the Mined Game, various keyboard accelerators are provided for commonly 
  258. used game functions.  These are: 
  259.  
  260. Ctrl+N 
  261.  
  262. Causes a new game to be started. 
  263.  
  264. F3 
  265.  
  266. Causes the Mined Game to terminate. 
  267.  
  268. Alt+F9 
  269.  
  270. Minimizes the Mined Game Main Window.  This is a standard Presentation Manager 
  271. defined accelerator key which invokes the action from the System Menu. 
  272.  
  273. Mouse Button 1 
  274.  
  275. Mouse Button 1 allows the user to uncover a square. 
  276.  
  277. Mouse Button 2 
  278.  
  279. Mouse Button 2 allows the user to mark a square as containing a mine, or clear 
  280. prevously marked squares back to their default state. 
  281.  
  282.  
  283. ΓòÉΓòÉΓòÉ 6. Menu help panels ΓòÉΓòÉΓòÉ
  284.  
  285. Menu help panels 
  286.  
  287. This section contains all help panels which are available for the controls and 
  288. menu items which appear on the dialogs of the Mined Game. 
  289.  
  290.  
  291. ΓòÉΓòÉΓòÉ <hidden> Help for Game menu ΓòÉΓòÉΓòÉ
  292.  
  293. Help for the Game menu 
  294.  
  295. The Game Menu allows the user to start a new game, set the level of difficulty 
  296. at which the Mined Game will play, and exit from the Mined Game. 
  297.  
  298.  
  299. ΓòÉΓòÉΓòÉ <hidden> Help for New game ΓòÉΓòÉΓòÉ
  300.  
  301. Help for New game 
  302.  
  303. Select the New game option to start a new game, using the currently selected 
  304. level of difficulty . 
  305.  
  306.  
  307. ΓòÉΓòÉΓòÉ <hidden> Help for Level sub-menu ΓòÉΓòÉΓòÉ
  308.  
  309. Level sub-menu 
  310.  
  311. When one of the members from the level of difficulty  submenu is selected, the 
  312. Mined Game will resize the board (and the main dialog itself), and ensure that 
  313. the dialog fits within the desktop window. 
  314.  
  315.  
  316. ΓòÉΓòÉΓòÉ <hidden> Help for Learn level ΓòÉΓòÉΓòÉ
  317.  
  318. Help for Learn level 
  319.  
  320. Select this option to play a game at the Learn level of difficulty . 
  321.  
  322.  
  323. ΓòÉΓòÉΓòÉ <hidden> Help for Beginner level ΓòÉΓòÉΓòÉ
  324.  
  325. Help for Beginner level 
  326.  
  327. Select this option to play a game at the Beginner level of difficulty . 
  328.  
  329.  
  330. ΓòÉΓòÉΓòÉ <hidden> Help for Intermediate level ΓòÉΓòÉΓòÉ
  331.  
  332. Help for Intermediate level 
  333.  
  334. Select this option to play a game at the Intermediate level of difficulty . 
  335.  
  336.  
  337. ΓòÉΓòÉΓòÉ <hidden> Help for Expert level ΓòÉΓòÉΓòÉ
  338.  
  339. Help for Expert level 
  340.  
  341. Select this option to play a game at the Expert level of difficulty . 
  342.  
  343.  
  344. ΓòÉΓòÉΓòÉ <hidden> Help for Exit ΓòÉΓòÉΓòÉ
  345.  
  346. Help for Exit 
  347.  
  348. Select the Exit option to end the Mined Game. 
  349.  
  350.  
  351. ΓòÉΓòÉΓòÉ <hidden> Help for Help menu ΓòÉΓòÉΓòÉ
  352.  
  353. Help menu 
  354.  
  355. This menu offers various help choices which give detailed discussion of the 
  356. features and options of the Mined Game. 
  357.  
  358.  
  359. ΓòÉΓòÉΓòÉ <hidden> Help for Playing Mined Game ΓòÉΓòÉΓòÉ
  360.  
  361. Help for Playing Mined Game 
  362.  
  363. Selecting this option gives an overview of the rules and method of play of the 
  364. Mined Game. 
  365.  
  366.  
  367. ΓòÉΓòÉΓòÉ <hidden> Help for Help index ΓòÉΓòÉΓòÉ
  368.  
  369. Help for Help index 
  370.  
  371. This selection will show the index of all available help items in the Mined 
  372. Game help. 
  373.  
  374.  
  375. ΓòÉΓòÉΓòÉ <hidden> Help for Help contents ΓòÉΓòÉΓòÉ
  376.  
  377. Help for Help contents 
  378.  
  379. This selection shows the table of contents provided with the Mined Game help. 
  380.  
  381.  
  382. ΓòÉΓòÉΓòÉ <hidden> Help for General help ΓòÉΓòÉΓòÉ
  383.  
  384. Help for General help 
  385.  
  386. Selecting this option presents a brief discussion and summary of the Mined 
  387. Game. 
  388.  
  389.  
  390. ΓòÉΓòÉΓòÉ <hidden> Help for Keys help ΓòÉΓòÉΓòÉ
  391.  
  392. Help for Keys help 
  393.  
  394. This selection presents a table of the available accelerator keys used the 
  395. Mined Game, and their function. 
  396.  
  397.  
  398. ΓòÉΓòÉΓòÉ <hidden> Help for Using help ΓòÉΓòÉΓòÉ
  399.  
  400. Help for Using help 
  401.  
  402. Select this option for information on how to use the help facility. 
  403.  
  404.  
  405. ΓòÉΓòÉΓòÉ <hidden> Help for Product Information... ΓòÉΓòÉΓòÉ
  406.  
  407. Help for Product Information... 
  408.  
  409. This choice displays the standard Product Information dialog which is included 
  410. with each of the Guidelines example programs. 
  411.  
  412.  
  413. ΓòÉΓòÉΓòÉ 7. Copyright ΓòÉΓòÉΓòÉ
  414.  
  415. Copyright 
  416.  
  417. Copyright JBA International, plc.  All rights reserved worldwide.